home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 10 / The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso / PC_SIGCD / 17 / 2 / DISK1720.ZIP / HYPMAIN.LZH / BEGINNER.DOC < prev    next >
Text File  |  1991-05-02  |  5KB  |  101 lines

  1.       Introduction to creating hyperfiles - Version 4
  2.       ===============================================
  3.  
  4.       So, you want to create your own hypertext application?
  5.  
  6.       You should start by finding out how the HyperShell program is used,
  7.       by  reading  the  HS  hyperfile  (choose 'Introduction' on the HOME
  8.       menu) first.  This will let you  see  the  basic  concepts  of  the
  9.       system,  and  the  kinds of thing it can provide. Running the other
  10.       demonstrations can also show the capabilities of the system.
  11.  
  12.       HyperShell is a very  complex  program  and  handles  very  complex
  13.       hyperfiles.  This  does  NOT  mean that you have to know everything
  14.       about it before you start. The more powerful features can be learnt
  15.       as and when you need them.
  16.  
  17.       To show how simple a file can be, try giving the name of any normal
  18.       text file to HyperShell (such as the READ.ME file):-
  19.  
  20.       HS READ.ME
  21.  
  22.       This gets treated as a single 'frame' hyperfile which you can  page
  23.       through,  and  use  F10  to  exit  from.  A basic hyperfile should,
  24.       however, contain frames with references  between  them.  Hyperfiles
  25.       are files with the extension .HYP, and are text files like this one
  26.       or  the READ.ME file, or batch files. Examining the MSDOS hyperfile
  27.       and the other examples, you will see how to set up different  types
  28.       of application. Some of the supplied hyperfiles are compressed, but
  29.       may  be  expanded  again  to  text files using the HCX utility, the
  30.       instructions for which are in the documentation.
  31.  
  32.       The notefile hyperfile
  33.       ----------------------
  34.  
  35.       The demo  notefile  hyperfile  is  the  basis  for  a  simple  text
  36.       database,  and  you should use this first to become  familiar  with
  37.       the editing arrangements in the integrated environment.
  38.  
  39.       This  gives  basic instructions on how to add frames and notes, and
  40.       how to insert references in the text.
  41.  
  42.       Creating a hyperfile
  43.       --------------------
  44.  
  45.       New hyperfiles can be created using the 'hyperkit' hyperfile, or by
  46.       simply copying one of the template hyperfiles to a  file  with  the
  47.       name   you   want.   This  is  then  edited  using  the  integrated
  48.       environment.
  49.  
  50.       The integrated environment is not a fixed  format  program  with  a
  51.       predefined  set  of  functions,  like  certain programming language
  52.       development systems, but is a configurable environment which can be
  53.       set up to behave in different ways, depending on where it is  being
  54.       used.  The notefile hyperfile is an example of this, with a menubar
  55.       giving all the editing operations.
  56.  
  57.       When  editing  your  own  hyperfiles,  however,  the screen layout,
  58.       colours  etc.  are  part  of  your  application,  and  the  editing
  59.       functions are only there when you want them.  This is handled using
  60.       a   'control   hyperfile'  called  HS_IDE.HYP.  To  edit  your  own
  61.       hyperfile, make sure the files HI.EXE and  HS_IDE.HYP  are  in  the
  62.       current  directory,  along  with  your  hyperfile,  then  type  'hi
  63.       yourfile' where 'yourfile' is the name of your hyperfile.  Now,  to
  64.       edit  this  hyperfile,  just press the '#' key, and a menu will pop
  65.       up. This is the edit contol menu, and you can  choose  'Edit'  then
  66.       'Current frame' to edit the current frame, or 'Add' then 'Frame' to
  67.       add  a frame.  Follow the prompts to give the frame name and title,
  68.       and you will end up in edit mode. A number of other edit operations
  69.       which are similar to the notefile ones are also available from  the
  70.       edit  control  menu.  Experiment  with  a  sample  hyperfile before
  71.       progressing to a more ambitious project.
  72.  
  73.       Using a text editor
  74.       -------------------
  75.  
  76.       Alternatively,  if  you  have a text editor or word processor which
  77.       can  produce  text  files,  you  can  use  that  to  produce   your
  78.       hyperfiles. See the documentation on how to create hyperfiles.
  79.  
  80.       The next step
  81.       -------------
  82.  
  83.       After becoming familiar with the simple editing  capabilities,  you
  84.       can  read  the  documentation  to  get further ideas on what can be
  85.       done. This also contains full information on how the editor is used.
  86.  
  87.       Who HyperShell is intended for
  88.       ------------------------------
  89.  
  90.       HyperShell is intended  for  almost  anyone  who  uses  a  personal
  91.       computer  as it is a general purpose applications toolkit which can
  92.       be used for a diverse range of computer jobs.
  93.  
  94.       Existing HyperShell users have a very wide spectrum of  skills,  so
  95.       you  don't  have to be a programmer to make good use of the system.
  96.  
  97.       Don't try to do everything at once. Take things step by step as you
  98.       learn about the system.
  99.  
  100.  
  101.